home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
047a
/
magnify1.zip
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-09-04
|
2KB
|
83 lines
ECHO OFF
BIG
IF ERRORLEVEL 1 GOTO EXIT
IF EXIST BIGTEST.TXT GOTO DISKOK
LOCATE 1,0
ECHO You must make the disk containing
ECHO the magnify files the default disk.
PAUSE
GOTO DONE
:DISKOK
IF NOT %1 == "" GOTO DESTOK
ECHO You must supply a destination path
ECHO for the Magnify files. Enter
ECHO INSTALL dest
ECHO where dest is the destination path.
PAUSE
GOTO DONE
:DESTOK
MD %1
CLS
TYPE BIGTEST.TXT
LOCATE 2,24
OPTION Y-N
IF ERRORLEVEL 1 GOTO USEBIG
SMALL
BIG1
LOCATE 1,0
ECHO You must use special versions of the
ECHO Magnify files on your system.
ECHO Copying special files...
COPY BIG1.COM %1\BIG.COM >NUL
COPY BV1.COM %1\BV.COM >NUL
COPY MAGNIFY1.COM %1\MAGNIFY.COM >NUL
COPY SMALL.COM %1\SMALL.COM >NUL
COPY MAGNIFY.DOC %1\MAGNIFY.DOC >NUL
COPY MAGNIFY.PRN %1\MAGNFIY.PRN >NUL
ECHO Done!
PAUSE
CLS
ECHO Do you want to
ECHO 1. Read the documentation now?
ECHO 2. Quit?
ECHO Type 1 or 2:
LOCATE 3,14
OPTION 1-2
IF ERRORLEVEL 1 GOTO DONE
CLS
ECHO Use Page Down or down arrow
ECHO to move down in the file.
ECHO Press Esc when you are done.
PAUSE
BV1 MAGNIFY.DOC
GOTO DONE
:USEBIG
CLS
LOCATE 1,0
ECHO Copying standard files...
COPY BIG.COM %1\BIG.COM >NUL
COPY BV.COM %1\BV.COM >NUL
COPY MAGNIFY.COM %1\MAGNIFY.COM >NUL
COPY SMALL.COM %1\SMALL.COM >NUL
COPY MAGNIFY.DOC %1\MAGNIFY.DOC >NUL
COPY MAGNIFY.PRN %1\MAGNFIY.PRN >NUL
ECHO Done!
PAUSE
CLS
ECHO Do you want to
ECHO 1. Read the documentation now?
ECHO 2. Quit?
ECHO Type 1 or 2:
LOCATE 3,14
OPTION 1-2
IF ERRORLEVEL 1 GOTO DONE
CLS
ECHO Use Page Down or down arrow
ECHO to move down in the file.
ECHO Press Esc when you are done.
PAUSE
BV MAGNIFY.DOC
:DONE
SMALL
:EXIT